<?php

namespace App\Admin\Extensions\Tools;

use Encore\Admin\Grid\Tools\BatchAction;

class FenPei extends BatchAction
{
    public function script()
    {
        return <<<EOT

$('{$this->getElementClass()}').on('click', function() {
        $("#hetongid").val(selectedRows());
        $("#yuangong").click();
});

EOT;

    }
}